package com.md.tw.controller;

import com.md.tw.entity.Student;
import com.md.tw.service.StudentService;
import lombok.Data;

@Data
public class StudentController {
    private StudentService studentService ;

    public Student getStudentById(int id){
        Student student = studentService.QueryStudentById(id);
        return student ;
    }
}
